package com.quwan.manager.controller.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class RechargeVipDTO {

    @ApiModelProperty("主键Id")
    private long id;

    @ApiModelProperty("vip规则Id")
    private long vipRuleId;

    @ApiModelProperty("会员Id")
    private long mId;

    @ApiModelProperty("真实名称")
    private String name;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("支付订单号")
    private String rechargeSlipNum;

    @ApiModelProperty("支付金额")
    private BigDecimal money=BigDecimal.ZERO;

    @ApiModelProperty("支付类型 0系统支付  1：微信 2支付宝")
    private Integer payMethod;

    @ApiModelProperty("提示信息")
    private String tips;

    @ApiModelProperty("状态：0正常，1禁用")
    private Integer status;

    @ApiModelProperty("交易Id")
    private String transactionId;

    @ApiModelProperty("预支付Id")
    private String prePayId;

    @ApiModelProperty("支付时间")
    private LocalDateTime payTime;

    @TableField("注册时间")
    private LocalDateTime addTime;

    @TableField("unit")
    private String unit;
}
